package com.robotserver.orders.service;

import com.jd.open.api.sdk.JdClient;
import com.robotserver.orders.vo.ElmOrderTimeVO;
import com.robotserver.orders.vo.JdOrderTimeVO;
import com.taobao.api.TaobaoClient;

import java.util.List;

/**
 * @Auther: lucher
 * @Date: 2023/03/15 11:24
 * @Description: 饿了么订单同步
 */
public interface ElmOrderSyncService {

    //通过工具商AppKey来获取饿了么订单
    void threadSyncOrder_byAppKey(List<ElmOrderTimeVO> elmOrderTimeVOList, TaobaoClient client, Integer downType);

    //消费补拉饿了么订单redis
    void threadSyncElmOrder_byAppKey_consumer(ElmOrderTimeVO elmOrderTimeVO, TaobaoClient client, Integer downType);

}
